@layout("/common/_container.html",{bg:"bg-white",js:["/assets/modular/shuheng/region/region_add.js?v=1"]}){
<style type="text/css">

</style>

<form id="regionForm" lay-filter="regionForm" class="layui-form model-form" style="max-width: 700px;">

        <input type="hidden" name="regionId"/>
        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>名称</label>
            <div class="layui-input-block">
                <input id="regionName" name="regionName" maxlength="30" placeholder="请输入区域名称" type="text" class="layui-input"
                       lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>层级</label>
            <div class="layui-input-block">
                <input type="radio" lay-filter="regionLevel" name="regionLevel" value="2" title="市级">
                <input type="radio" lay-filter="regionLevel" name="regionLevel" value="3" title="区县级" checked>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>上级</label>
            <div class="layui-input-block">
                <select name="parentId" id="parentId" lay-verify="required">
                    <option value="">请选择上级</option>
                </select>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"><span style="color: red;">*</span>排序</label>
            <div class="layui-input-block">
                <input id="regionOrder" name="regionOrder" maxlength="30" placeholder="请输入" type="number" class="layui-input"
                       lay-verify="required" value="0" required/>
            </div>
        </div>



    <div class="layui-form-item text-right">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>保存</button>
        <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog" id="backupPage">返回</button>
    </div>
</form>


@}